import Vue from 'vue'
import Component from 'vue-class-component'

@Component
export default class OrderSendSureClass extends Vue {
  name = ''
  note = ''

  handlerSure () {

  }

  render () {
    return (
      <div class='content'>
      <mt-header class='header' fixed title="发货备注">
        <mt-button onClick={() => { this.$router.go(-1) }} icon="" slot="left"><icon name = 'backIcon' scale='2'/></mt-button>
      </mt-header>
      <div><mt-field style='margin-top:80px' label="发货人" placeholder='姓名' value={this.name} onInput={ value => { this.name = value }}></mt-field></div>
      <div style='margin-top:-1px'><mt-field label="发货备注" placeholder='备注' type="textarea" rows="4" value={this.note} onInput={ value => { this.name = value }} ></mt-field></div>

      <div onClick={this.handlerSure} style='height:40px;background:#ff4545;color:#fff;width:80%;margin-left:10%;text-align:center;line-height:40px;margin-top:10px'>确定</div>

      </div>
    )
  }
}
